package com.qipay.user.entity;

public enum UserLevel {

    CP(1), AGENT(200), ADMIN(1000),ADMIN_SON(500);

    private int code;

    UserLevel(int code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return String.valueOf(code);
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
